username = "邓江铭"
password = "123456"

input_username = input("请输入用户名：")
input_password = input("请输入密码：")

flag = True
while flag:
    if input_username == username and input_password == password:
        print("登录成功")
        flag= False
    else:
        print("用户名或者密码错误:")
        input_username = input("请输入用户名:")
        input_password = input("请输入密码:")

print("while循环结束")
